@font-face {
	font-family: "<%= fontName %>";
	src: url('<%= fontPath %><%= fontName %>.eot?<%= _.now() %>');
	src: url('<%= fontPath %><%= fontName %>.eot?<%= _.now() %>#iefix') format('eot'),
		url('<%= fontPath %><%= fontName %>.woff?<%= _.now() %>') format('woff'),
		url('<%= fontPath %><%= fontName %>.ttf?<%= _.now() %>') format('truetype'),
		url('<%= fontPath %><%= fontName %>.svg?<%= _.now() %>#<%= fontName %>') format('svg');
}

[class^="<%= cssClass%>-"], [class*=" <%= cssClass%>-"] {
	font-family: "<%= fontName %>";
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	// speak: none; // only necessary if not using the private unicode range (firstGlyph option)
	text-decoration: none;
	text-transform: none;
}

@function <%= cssClass%>-char($filename) {
	$char: "";
<% _.each(glyphs, function(glyph) { %>
	@if $filename == <%= glyph.fileName %> {
		$char: "\<%= glyph.codePoint %>";
	}<% }); %>

	@return $char;
}

@mixin <%= cssClass%>($filename, $insert: before) {
	&:#{$insert} {
		content: <%= cssClass%>-char($filename);
	}
}

<% _.each(glyphs, function(glyph) { %>.<%= cssClass%>-<%= glyph.fileName %> {
	@include <%= cssClass%>(<%= glyph.fileName %>);
}
<% }); %>
